<form id="myEditForm" class="form-horizontal myEditForm" role="form">
    <div class="form-group">
        <label for="code" class="col-lg-2 col-sm-2 control-label"><span style="color:red">*</span>代码</label>
        <div class="col-lg-10">
            <input type="text" class="form-control" value="<%if(typeof code!='undefined'){%><%=code%><%}%>" required id="code" name="upgradeProject.code" placeholder="建议使用项目英文首字母，如：bjdx">
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="col-lg-2 col-sm-2 control-label"><span style="color:red">*</span>项目名称</label>
        <div class="col-lg-10">
            <input type="text" class="form-control" value="<%if(typeof name!='undefined'){%><%=name%><%}%>" required id="name" name="upgradeProject.name" placeholder="项目的名称，如：北京大学">
        </div>
    </div>
    <div class="form-group">
        <label for="package_name" class="col-lg-2 col-sm-2 control-label"><span style="color:red">*</span>升级包名</label>
        <div class="col-lg-10">
            <input type="text" class="form-control" value="<%if(typeof package_name!='undefined'){%><%=package_name%><%}%>" required id="package_name" name="upgradeProject.package_name" placeholder="日期用$(date)表示">
        </div>
    </div>
    <div class="form-group">
        <label for="package_base_dir" class="col-lg-2 col-sm-2 control-label"><span style="color:red">*</span>文件夹根目录</label>
        <div class="col-lg-10">
            <input type="text" class="form-control" value="<%if(typeof package_base_dir!='undefined'){%><%=package_base_dir%><%}%>" required id="package_base_dir" name="upgradeProject.package_base_dir" placeholder="下载升级包时，将会根据版本号来自动覆盖根目录里面的文件">
        </div>
    </div>
    <div class="form-group">
        <label for="merge_sql" class="col-lg-2 col-sm-2 control-label"><span style="color:red">*</span>合并SQL</label>
        <div class="col-lg-10">
            <select id="merge_sql" name="upgradeProject.merge_sql" class="form-control" required>
                <option value="1" <%if(typeof merge_sql!='undefined'&&merge_sql=='1'){%>selected=selected<%}%>>是</option>
                <option value="0" <%if(typeof merge_sql!='undefined'&&merge_sql=='0'){%>selected=selected<%}%>>否</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="enabled" class="col-lg-2 col-sm-2 control-label"><span style="color:red">*</span>是否启用</label>
        <div class="col-lg-10">
            <select id="enabled" name="upgradeProject.enabled" class="form-control" required>
                <option value="1" <%if(typeof enabled!='undefined'&&enabled=='1'){%>selected=selected<%}%>>是</option>
                <option value="0" <%if(typeof enabled!='undefined'&&enabled=='0'){%>selected=selected<%}%>>否</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="remark" class="col-lg-2 col-sm-2 control-label">备注</label>
        <div class="col-lg-10">
            <input type="text" class="form-control" value="<%if(typeof remark!='undefined'){%><%=remark%><%}%>" id="remark" name="upgradeProject.remark" placeholder="">
        </div>
    </div>
    <div class="form-group">
        <label for="receive_mails" class="col-lg-2 col-sm-2 control-label">收包人邮箱地址</label>
        <div class="col-lg-10">
            <textarea rows="3" class="form-control" id="receive_mails" name="upgradeProject.receive_mails" placeholder="多个地址用;隔开"><%if(typeof receive_mails!='undefined'){%><%=receive_mails%><%}%></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="copy_mails" class="col-lg-2 col-sm-2 control-label">抄送人邮箱地址</label>
        <div class="col-lg-10">
            <textarea rows="3" class="form-control" id="copy_mails" name="upgradeProject.copy_mails" placeholder="多个地址用;隔开"><%if(typeof copy_mails!='undefined'){%><%=copy_mails%><%}%></textarea>
        </div>
    </div>
    <input type="hidden" value="<%if(typeof id!='undefined'){%><%=id%><%}%>" id="id" name="upgradeProject.id" placeholder="">
</form>